<?php
$serv=$_POST['serv'];
$usr=$_POST['usr'];
$pwd=$_POST['pwd'];
$pfx=$_POST['pfx'];
$dsusr=$_POST['dsusr'];
$dspwd=$_POST['dspwd'];
$lang=$_POST['lang'];

if ($lang == "1"){
	include('../includes/language/german.php');
} elseif ($lang == "2"){
	include('../includes/language/english.php');
} elseif ($lang == "3"){
	include('../includes/language/french.php');
}

include ('setup_head.html');
?>
<div id="ipage3">
	<?php echo "<h1>$nls_install_headline</h1>"; ?>
	<?php echo "<h2>$nls_install_step3</h2>"; ?>
	<?php echo "<p>$nls_install_step3_explain</p>"; ?>
	
	<form action="step3.php" method="post">
		<table border="0">
			<tr><td>Institute:</td><td><input type="text" name="inst" /></td></tr>
		</table>
		<?php echo "<p>$nls_install_step3_explain2</p>"; ?>
		<table border="0">
			<tr><td>Name:</td><td><input type="text" value="science" name="appusr" /></td></tr>
			<tr><td>Password:</td><td><input type="text" value="science" name="apppwd" /></td></tr>
		</table>	
		<?php 
		echo "<input type=\"hidden\" name=\"lang\" value=\"$lang\" />"; 
		echo "<input type=\"hidden\" name=\"serv\" value=\"$serv\" />";
		echo "<input type=\"hidden\" name=\"usr\" value=\"$usr\" />";
		echo "<input type=\"hidden\" name=\"pwd\" value=\"$pwd\" />";
		echo "<input type=\"hidden\" name=\"pfx\" value=\"$pfx\" />";
		echo "<input type=\"hidden\" name=\"dsusr\" value=\"$dsusr\" />";
		echo "<input type=\"hidden\" name=\"dspwd\" value=\"$dspwd\" />";
		?>
		<input type="submit" />
	</form>
	
</div>
<?php include ('setup_foot.html'); ?>